package com.example.hello.pojo;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class PaymentLog {
    private Long    id;
    private Long    userId;
    private Integer bizType;        // 0=充值, 1=支付（逾期缴费或其他支付）
    private BigDecimal amount;      // 本次变动量：充值为正，支付为负
    private BigDecimal balanceBefore;
    private BigDecimal balanceAfter;
    private String  remark;
    private Date    createdAt;
}